#pragma once

#ifdef _WIN32 
#include <windows.h> 
#endif

#include "Building.h"
#include "../../Entity.h"
#include "../../../special/StrIntConvert.h"
#include "../../dynamic/villager/Taxman.h"

class BBank: public Building
{
public:
	BBank(glm::vec3 _Pos, float _r, std::string _Name, std::string _modelFName,
			ModelPool *_mPool, PathFinder *_pathfinder);

	~BBank(void);
	virtual void control(float t);

protected:
	void GetTaxTargets();
	Building* getOneTarget();

	Timer chckAreaTimer, getTaxTimer;
	std::vector<Building*> TaxTargets;
};

